package com.indexingsystem.boss.admin.mapper;

import java.util.List;

import com.indexingsystem.boss.Vo.IdxThemeWordsSourceDeleVo;
import com.indexingsystem.boss.Vo.IdxThemeWordsSourceDetailReqVo;
import com.indexingsystem.boss.Vo.ThemeWordsSourceVo;
import com.indexingsystem.boss.entity.IdxThemeWordsSource;

public interface IdxThemeWordsSourceMapper {
	int deleteByPrimaryKey(String id);

	int insert(IdxThemeWordsSource record);

	int insertSelective(IdxThemeWordsSource record);

	IdxThemeWordsSource selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(IdxThemeWordsSource record);

	int updateByPrimaryKeyWithBLOBs(IdxThemeWordsSource record);

	int updateByPrimaryKey(IdxThemeWordsSource record);

	List<ThemeWordsSourceVo> selectIdxThemeSourceById(Integer themeWordId);

	/**
	 * 根据主题词来源id,主题词id删除
	 * 
	 * @param list
	 * @param themeWordsId
	 * @return
	 */
	Integer deleteThemeWordsSource(IdxThemeWordsSourceDeleVo idxThemeWordsSourceDeleVo);

	List<IdxThemeWordsSource> selectIdxThemeWordsSourceDetail(
			IdxThemeWordsSourceDetailReqVo idxThemeWordsSourceDetailReqVo);

	Integer selectIdxThemeWordsSourceDetailCount(IdxThemeWordsSourceDetailReqVo idxThemeWordsSourceDetailReqVo);
}